import Vue from 'vue'
import Router from 'vue-router'
import Demo from 'components/demo/demo'
import Backtop from 'components/backtop/backtop'
import Header from 'components/header/header'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Demo',
      component: Demo
    },
    {
      path: '/backtop',
      name: 'Backtop',
      component: Backtop
    },
    {
      path: '/header',
      name: 'Header',
      component: Header
    }
  ]
})
